package router

import (
	"zsc-boot/app/customer/api"
	"zsc-boot/core/web"
)

func InitCustomerImportRouterGroup() {
	customerImportApi := new(api.CustomerImportApi)
	customerImport := web.GetGin().Group("/customerImport")
	customerImport.POST("", customerImportApi.Create)
	customerImport.GET("/list", customerImportApi.List)
	customerImport.GET("", customerImportApi.Detail)
	customerImport.DELETE("", customerImportApi.Delete)

	customerImportPublic := web.GetGin("public").Group("/customerImport/api")
	customerImportPublic.POST("/create", customerImportApi.ApiCreate)
	customerImportPublic.GET("/check", customerImportApi.Check)
	customerImportPublic.POST("/fyCreate", customerImportApi.FyCreate)
}
